package com.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 排班规则表
 * </p>
 *
 * @author Demoon Liu
 * @since 2022-02-20
 */
@TableName("schedule_rule")
public class ScheduleRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer status;

    private Long operatorid;

    private LocalDateTime operatetime;

    private String rulename;

    private String description;

    private Long deptid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Long getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(Long operatorid) {
        this.operatorid = operatorid;
    }
    public LocalDateTime getOperatetime() {
        return operatetime;
    }

    public void setOperatetime(LocalDateTime operatetime) {
        this.operatetime = operatetime;
    }
    public String getRulename() {
        return rulename;
    }

    public void setRulename(String rulename) {
        this.rulename = rulename;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    public Long getDeptid() {
        return deptid;
    }

    public void setDeptid(Long deptid) {
        this.deptid = deptid;
    }

    @Override
    public String toString() {
        return "ScheduleRule{" +
            "id=" + id +
            ", status=" + status +
            ", operatorid=" + operatorid +
            ", operatetime=" + operatetime +
            ", rulename=" + rulename +
            ", description=" + description +
            ", deptid=" + deptid +
        "}";
    }
}
